package com.new_wear.project.system.pos.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.new_wear.framework.aspectj.lang.annotation.Excel;
import com.new_wear.framework.web.domain.BaseEntity;

/**
 * 广告 - 广告位对象 cst_ad_pos
 * 
 * @author new_wear
 * @date 2019-12-20
 */
public class CstAdPos extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Integer id;

    /** 名称 */
    @Excel(name = "名称")
    private String title;

    /** 地区ID */
    @Excel(name = "地区ID")
    private Integer areaId;

    /** 应用位置 */
    @Excel(name = "应用位置")
    private Integer position;

    /** '样式 0多图轮播;1多图平铺滑动; 2单图平铺,3多图平铺;4跑马灯;5公告 */
    @Excel(name = "'样式 0多图轮播;1多图平铺滑动; 2单图平铺,3多图平铺;4跑马灯;5公告")
    private Integer style;

    /** 0图; 1文; 2图文 */
    @Excel(name = "0图; 1文; 2图文")
    private Integer tpe;

    /** 单屏显示数量 */
    @Excel(name = "单屏显示数量")
    private Integer showCt;

    /** 扩展字段 */
    @Excel(name = "扩展字段")
    private String extJson;

    /** 备注 */
    @Excel(name = "备注")
    private String comment;

    /** 修改时间 */
    @Excel(name = "修改时间")
    private Integer modifiedAt;

    /** 创建时间 */
    @Excel(name = "创建时间")
    private Integer createdAt;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setAreaId(Integer areaId) 
    {
        this.areaId = areaId;
    }

    public Integer getAreaId() 
    {
        return areaId;
    }
    public void setPosition(Integer position) 
    {
        this.position = position;
    }

    public Integer getPosition() 
    {
        return position;
    }
    public void setStyle(Integer style) 
    {
        this.style = style;
    }

    public Integer getStyle() 
    {
        return style;
    }
    public void setTpe(Integer tpe) 
    {
        this.tpe = tpe;
    }

    public Integer getTpe() 
    {
        return tpe;
    }
    public void setShowCt(Integer showCt) 
    {
        this.showCt = showCt;
    }

    public Integer getShowCt() 
    {
        return showCt;
    }
    public void setExtJson(String extJson) 
    {
        this.extJson = extJson;
    }

    public String getExtJson() 
    {
        return extJson;
    }
    public void setComment(String comment) 
    {
        this.comment = comment;
    }

    public String getComment() 
    {
        return comment;
    }
    public void setModifiedAt(Integer modifiedAt) 
    {
        this.modifiedAt = modifiedAt;
    }

    public Integer getModifiedAt() 
    {
        return modifiedAt;
    }
    public void setCreatedAt(Integer createdAt) 
    {
        this.createdAt = createdAt;
    }

    public Integer getCreatedAt() 
    {
        return createdAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("areaId", getAreaId())
            .append("position", getPosition())
            .append("style", getStyle())
            .append("tpe", getTpe())
            .append("showCt", getShowCt())
            .append("extJson", getExtJson())
            .append("comment", getComment())
            .append("modifiedAt", getModifiedAt())
            .append("createdAt", getCreatedAt())
            .toString();
    }
}
